![]() |
PATH![]() |
![]() ![]() |
Appends a menu item to a menu.
pascal OSStatus AppendMenuItemText (
MenuHandle menu,
ConstStr255Param inString);
The AppendMenuItemText function appends the menu item containing the specified string to a menu, without evaluating the string for metacharacters, as the pre-Mac OS 8.5 Menu Manager function AppendMenu does. You may wish to use AppendMenuItemText if you have a need to present non-alphanumeric characters in a menu item.
The appended menu item appears at the end of the menu as an enabled item. If you wish to place the menu item elsewhere than at the end of the menu you should use the function
InsertMenuItemText
.